package com.imooc.bilibili.mapper.auth;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imooc.bilibili.domain.auth.AuthRoleElementOperation;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 权限控制--角色与元素操作关联表 Mapper 接口
 * </p>
 *
 * @author gcq
 * @since 2022-05-31
 */
public interface AuthRoleElementOperationMapper extends BaseMapper<AuthRoleElementOperation> {

    /**
     * 查询角色元素操作
     *
     * @param roleIdSet
     * @return
     */
    List<AuthRoleElementOperation> getRoleElementOperationByRoleIds(@Param("roleIdSet") Set<Long> roleIdSet);
}
